package com.example.service;

import com.example.entity.Subject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//@Service
public interface SubjectService {


    public List<Subject> getPage(@Param("begin") int currentPage, @Param("size")int pageSize);

    public int getTotalCount();

    public Boolean add(Subject subject);

    public Boolean deleteById(Integer id);

    public Boolean update(Subject subject);

}
